<?php

use yii\db\Schema;
use yii\db\Migration;

class m160225_032557_add_pc_solution_schedule_condition extends Migration
{
    public function up()
    {
        $sql = <<<FINE
        update {{%condition_type}} set is_for_display = 1, is_for_video = 1 where id = 20 and table_name = 'condition_schedule';
FINE;
        $this->execute($sql);
    }

    public function down()
    {
        return true;
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
